package com.itheima.student;

public class student2 {
    double score;
    public void printThis() {
        System.out.println(this);
    }

    public void printpass(double score) {
        if (this.score > score) {
            System.out.println("恭喜你成功考上了清华大学了~~");
        } else {
            System.out.println("很遗憾，你落榜了！");
        }
    }
}
